<?php

/**
 * @filename System.class.php 
 * @encoding UTF-8 
 * @author yuzhiyuan <307090870@qq.com>
 * @copyright copyright 2013 (c) Emagsoftware Technology Co., Ltd. All Rights reserved.
 * @license ……
 * @datetime 2013-6-22  15:06:10
 * @version 1.0
 * @Description
  */
class SystemAction extends BaseAction {
    public function verify(){
    	$config = F('verify','',CONF_PATH);
    	$this->assign('action','verify');
    	$this->assign('config', $config);
        $this->display();
    }

    public function sys(){
    	$config = F('sys','',CONF_PATH);
    	$this->assign('action','sys');
    	$this->assign('config', $config);
        $this->display();
    }


    public function save(){
    	if($_POST['action'] == 'verify'){
    		F('verify',$_POST,CONF_PATH);
    	}elseif ($_POST['action'] == 'sys') {
    		F('sys',$_POST,CONF_PATH);
    	}
    	p($_POST);
    	
    }
}